package com.framework.pojo;

import java.io.Serializable;

/**
 * 资源表
 * @author Administrator
 */
public class Resource implements Serializable {

	private static final long serialVersionUID = -1959812541996159692L;
	
	private String id;						// 资源编号
	private String resourceName;			// 资源名称
	private String resourceType;			// 资源类型
	private int priority;					// 资源优先级
	private String resourceString;			// 连接字符
	private String description;				// 描述
	private int enabled = 0;				// 是否启用.  0: 禁用; 1: 正常
	private int isSys = 0;					// 是否为超级用户.   0: 非; 1: 是
	
	public Resource() {
		
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public String getResourceString() {
		return resourceString;
	}

	public void setResourceString(String resourceString) {
		this.resourceString = resourceString;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public int getEnabled() {
		return enabled;
	}

	public void setEnabled(int enabled) {
		this.enabled = enabled;
	}

	public int getIsSys() {
		return isSys;
	}

	public void setIsSys(int isSys) {
		this.isSys = isSys;
	}

}
